package com.ruoyi.safety.domain;

import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.baomidou.mybatisplus.annotation.IdType; //添加
import com.baomidou.mybatisplus.annotation.TableId; //添加
import com.baomidou.mybatisplus.annotation.TableName; //添加
import lombok.Data; //添加

import java.io.Serializable; //添加

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 分站实时信息数据对象 safety_substation_real_time
 *
 * @author ruoyi
 * @date 2024-10-30
 */
@Data //添加
@TableName("safety_substation_real_time") //添加
public class SafetySubstationRealTime extends BaseEntity implements Serializable //修改
{
    private static final long serialVersionUID = 1L;

    /**
     * 分站编码
     */
    //添加
    @TableId(value = "id", type = IdType.AUTO)
    private String substationCode;

    /**
     * 分站运行状态
     */
    @Excel(name = "分站运行状态")
    private String substationRunStatus;

    /**
     * 分站供电状态
     */
    @Excel(name = "分站供电状态")
    private String substationElectricStatus;

    /**
     * 数据时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "数据时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend1;

    /**
     * $column.columnComment
     */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")
    private String extend2;

}

